import axios from "axios";
import qs from "qs";
import { baseUrl } from '../configs/config'

/**
 * @function /websocket/start
 * @type GET
 * @description { 启动ws }
 * @returns { result } 
 */
async function startWS(data = {}) {
    return await axios({
        method: "get",
        headers: {
            "content-type": "application/x-www-form-urlencoded",
        },
        url: "/api/websocket/start",
        params: data,
    });
}

export {
    startWS,
}